package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.CourseRating;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CourseRatingMapper {
    //根据课程id分页查询所有评价
    List<CourseRating> getAllCourseRating(Integer courseId);
    //增加评价
    Integer addCourseRating(CourseRating courseRating);
}
